<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>权限表单</title>
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<link rel="stylesheet" href="../../layui/css/layui.css" media="all">
<script src="../../layui/layui.js" charset="utf-8"></script>

</head>
<body>
<div class="userTable" style="text-align: left;">
   <form class="layui-form" onSubmit="return false;">
	<div class="layui-inline">
      <label class="layui-form-label">角色：</label>
      <div class="layui-input-inline">
        <select name="roleSelectName" id="roleSelectId"  lay-filter="roleSelectFilter">
	    </select>
      </div>	    
    </div>
    
    <div class="layui-inline">
      <label class="layui-form-label">菜单：</label>
      <div class="layui-input-inline">
        <select name="menuSelectName" id="menuSelectId"  lay-filter="menuSelectFilter">
	    </select>
      </div>	    
    </div>
    
    <div class="layui-inline">
      <label class="layui-form-label">模块：</label>
      <div class="layui-input-inline">
        <select name="moduleSelectName" id="moduleSelectId"  lay-filter="moduleSelectFilter">
	    </select>
      </div>	    
    </div>   
    &nbsp; &nbsp; &nbsp;
    <button class="layui-btn layui-btn-radius" lay-submit  lay-filter="demo1">保存角色授权</button>
    <button class="layui-btn layui-btn-radius" id="addPermissionBtn"><i class="layui-icon">&#xe608;</i> 添加权限</button>
   </form> 
</div>
  
	
     <table class="layui-hide" id="syspermissionTable" lay-filter="syspermissionFilter"></table>
  
     <div class="layui-row" id="PermissionrAdd" style="display: none;">
		<div class="layui-col-md10">
			<form class="layui-form" id="addPermissionForm">
			    <div class="layui-form-item" style="margin-top: 15px">
					<label class="layui-form-label">类型：</label>
					<div class="layui-input-block">
						<select class="layui-input" id="formTypeSelect" lay-filter = "formTypeFIlter">
						     <option value = ""></option>
						     <option value = "1">菜单</option>
						     <option value = "2">模块</option>
						     <option value = "3">页面</option>
						</select>
					</div>
				</div>
				<div class="layui-form-item">
					<label class="layui-form-label">父菜单：</label>
					<div class="layui-input-block">
						<select class="layui-input" id="formMenuSelect"   lay-filter = "formMenuFIlter">
						     <option value = ""></option>
						</select>
					</div>
				</div>
				<div class="layui-form-item">
					<label class="layui-form-label">父模块：</label>
					<div class="layui-input-block">
						<select class="layui-input" id="formModuleSelect"   lay-filter = "formModuleFIlter">
						     <option value = ""></option>
						</select>
					</div>
				</div>
				<div class="layui-form-item" style="margin-top: 15px">
					<label class="layui-form-label">名称：</label>
					<div class="layui-input-block">
						<input type="text" id="formTitleInput" class="layui-input">
					</div>
				</div>
				<div class="layui-form-item">
					<label class="layui-form-label">路径：</label>
					<div class="layui-input-block">
						<input type="text" id="formHrefInput" class="layui-input layui-disabled"  />
					</div>
				</div>
			</form>
		</div>
	</div>
	
	<script type="text/html" id="barSyspermission">
		<a class="layui-btn layui-btn-xs" lay-event="edit">编辑</a>
		<a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del">删除</a>
	</script>
	<script src="../../js/systemManagement/syspermission.js" charset="utf-8"></script>
	
</body>
</html>